<body>
	<div id="container" class="container_12">
		<!--  start header section -->
		<div id="header" class="grid_12">
			<div id="headerleft" class="grid_5 alpha">
				<a href="<fmt:message bundle="${mess}" key="servletUrl" />home"><img src="<fmt:message bundle="${mess}" key="baseUrl" />img/noassertionsheader.png" /></a>
			</div>
			<div id="headercenter" class="grid_5">
  				<form name="searchForm" method="post" action="<fmt:message bundle="${mess}" key="servletUrl" />search">			
					Quick Search:
					<input type="text" name="query" size="5"/>
					in:
					<select name="dropdown">
						<option value="name">Name (First or 	Last)</option>
						<option value="notes">Notes</option>
						<option value="comments">Comments</option>
					</select>
					<span class="hidden">
						<input id="bread" type="text" size="10" name="bread" />
					</span>
					<input type="submit" id="headersubmitbutton" value="Go" />
				</form>
				<p class="nomarg"><a href="<fmt:message bundle="${mess}" key="servletUrl" />search">Advanced search</a></p>
				<img src="<fmt:message bundle="${mess}" key="baseUrl" />img/spacer.gif"/>				
			</div>
			<div id="headerright" class="grid_2 omega">
				<c:choose>
		          <c:when test="${empty emailAddress}">
							<p class="nomarg"><a href="/noassertions/login.jsp">Sign In</a></p>
							<p class="nomarg"><a href="<fmt:message bundle="${mess}" key="servletUrl" />measure">How to measure</a></p>
						</div>
					</div>
					
					<div id="headerrightbottom" class="grid_12">
						<p class="nomarg"><a href="<fmt:message bundle="${mess}" key="servletUrl" />user/new">New to No Assertions? Create an account and contribute your fit.</a></p>
					</div>
		          </c:when>
		          <c:otherwise>
						<p class="nomarg"><a href="/noassertions/logout.jsp">Log Out</a></p>
						<p class="nomarg"><a href="<fmt:message bundle="${mess}" key="servletUrl" />measure">How to measure</a></p>
					</div>
							</div>
					<div id="headerrightbottom" class="grid_12">
						<p class="nomarg"><a href="<fmt:message bundle="${mess}" key="servletUrl" />fit/manage">Welcome <span id="emailaddress">${emailAddress}</span>, manage your account</a></p>
					</div>
					
		          </c:otherwise>
		        </c:choose>
		<div class="clear"></div>
		<div class="grid_12 spacer"></div>  
		<!--  end header section -->